<article class="module width_full">
    <header><h3>{#event#}</h3></header>
		{if !empty($value)}
        {foreach from=$value item=item}
            <fieldset style="width:95%; margin:5 auto;">
                <legend>{#title#}:<b>{$item.title}</b>&nbsp;&nbsp;|&nbsp;&nbsp;{#date#}:<b>{$item.beginn} {#to#} {$item.end}</b></legend>
                <div class="module_content">
                    <p>{$item.story|nl2br}</p>
                </div>
				<a href="index.php?mod=events&amp;page=edit&id={$item.id}"><input style="float:right;" type="button" class="alt_btn" value="{#edit#}" /></a>
				<a href="index.php?mod=events&amp;action=delete&id={$item.id}"><input style="float:right;" type="button" class="alt_btn" value="{#delete#}" /></a>
            </fieldset>
        {/foreach}
			{else}
            <fieldset style="width:95%; margin:5 auto;">
                <label>{#noevents#}</label>
				</fieldset>
			{/if}
    <footer>
        <div class="submit_link">
		<a href="index.php?mod=events&amp;page=add"><input style="float:right;" type="button" class="alt_btn" value="{#add#}" /></a>
        </div>
    </footer>
</article>
<!-- Addet -->
<div class="modal" id="events">
        <h3>{#deleted#}</h3>
		<p>{#success_deleted#}</p>
</div>
